﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace NetDXY
{
    public partial class MainFrm : NetDXY.BaseFrm
    {
        public MainFrm()
        {
            InitializeComponent();
        }

        private void StartBtn_Click(object sender, EventArgs e)
        {
            InfoFrm theInfo = new InfoFrm();
            theInfo.HID = txtHangID.Text;
            theInfo.ZID = txtZuanID.Text;
            theInfo.KID = txtKongID.Text;
            theInfo.SDate = dtpDate.Value.ToString();
            //预设参数
            theInfo.YJD = decimal.Parse(txtJD.Text);
            theInfo.YWD = decimal.Parse(txtWD.Text);
            theInfo.YGD = decimal.Parse(txtGD.Text);
            theInfo.ShowDialog();
        }
    }
}

